package com.example.famhealing.timeline;

import com.example.famhealing.R;

import android.content.Intent;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageButton;

public class TimelineActivity extends FragmentActivity{

	ImageButton backButton;
	ImageButton confirmButton;
	
	public static int selectedYear;
	public static int selectedMonth;
	public static int selectedDay;
	
	@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_timeline);
        
        Intent intent = getIntent();
        selectedYear = (Integer) intent.getExtras().get("selectedYear");
        selectedMonth = (Integer) intent.getExtras().get("selectedMonth");
        selectedDay = (Integer) intent.getExtras().get("selectedDay");
        
        backButton = (ImageButton) findViewById(R.id.backButton);
        backButton.setOnClickListener(new OnClickListener() {

			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				finish();
			}
        	
        });
        
        confirmButton = (ImageButton) findViewById(R.id.confirmButton);
        confirmButton.setOnClickListener(new OnClickListener() {

			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
			}
        	
        });
        
    }
	
	
}
